﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Info.aspx.cs" Inherits="NoteSystem.Info" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="box_right col-lg-9 ">
		<div class="segment left">
			<i class=" glyphicon glyphicon-edit left" ></i>
			<h3 class="left">
				个人资料修改<br>
				<span>管理这个设备及其传感器</span>
			</h3>
		</div>
		<div class="clear"></div>
                    
        <!--修改个人资料-->
        <div id="reg_box" class="left" style="padding-left:30px; padding-top:10px;">
			<form method="post" action="/" role="form" autocomplete="on">
			<div class="my-group">
				<span class="left" >账号</span>
				<asp:TextBox ID="txtAccount" CssClass="form-control put1" runat="server" placeholder="请输入用户名"  required></asp:TextBox><span id="sp" style="color:red;display:none">用户已存在！</span>
			</div>
			<div class="my-group">
				<span class="left" >生日</span>
				<asp:TextBox ID="txtBirthday" CssClass="form-control put1" runat="server" placeholder="请输入您的生日" required></asp:TextBox>
			</div>
			<div class="my-group">
				<span class="left" >所在城市</span>
				<asp:DropDownList ID="ddlProvince"  runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlProvince_SelectedIndexChanged">
				</asp:DropDownList>
				<asp:DropDownList ID="ddlCity" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCity_SelectedIndexChanged" >
				<asp:ListItem Text="请选择城市" Value=""></asp:ListItem>
				</asp:DropDownList>
				<asp:DropDownList ID="ddlDistrict" runat="server">
				<asp:ListItem Text="请选择区域" Value=""></asp:ListItem>
				</asp:DropDownList>
			</div>
			<div class="my-group">
				<span class="left" >性别</span>
				<asp:RadioButtonList ID="rbtnGender" runat="server" CssClass="form-control put1" RepeatDirection="Horizontal">
					<asp:ListItem Value="0">男</asp:ListItem>
					<asp:ListItem Value="1">女</asp:ListItem>
				</asp:RadioButtonList>
			</div>
			<div class="my-group">
				<span class="left" >上传头像</span>
				<asp:FileUpload ID="fulImg"   runat="server" /><asp:Image ID="Image1" runat="server" Width="80px" /><asp:Button ID="Button1" runat="server" Text="上传" OnClick="Button1_Click" />
			</div>
			<div class="my-group">
				<span class="left" >电话</span>
				<asp:TextBox ID="txtPhone" CssClass="form-control put1" runat="server" placeholder="请输入电话" required></asp:TextBox>
			</div>
        
			<div class="my-group">
				<span class="left" >邮箱</span>
				<asp:TextBox ID="txtEmail" CssClass="form-control put1" runat="server" placeholder="请输入邮箱" required></asp:TextBox>
			</div>
			<div class="my-group">
				<span class="left" >QQ</span>
				<asp:TextBox ID="txtQQ" CssClass="form-control put1" runat="server" placeholder="请输入QQ" required></asp:TextBox>
			</div>
        
			<div class="form-actions">
				<asp:Button runat="server" Text="确认修改"  ID="btn1" OnClick="btn1_Click" />
                </button>
				</div>  
        </form>
		
	</div>
</asp:Content>
